package com.example.service_consumer.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import org.springframework.web.client.RestTemplate;

@Configuration
public class HelloConfig {
    @Bean//@Bean(name = "abc")
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
